let mongoose = require('mongoose')

mongoose.connect('mongodb+srv://wangyangkai1024:IJdblc9rk0Ph0XkE@cluster0.tdtl2.mongodb.net/Yun').then(() => {
    console.log('数据库连接成功')
}).catch(err => {
    console.log(err)
})

module.exports = mongoose